package com.beifu.manager.model;

public class AssetInfo {
    private Long id;

    private Integer assetBaseid;

    private String rfidCode;

    private Integer venderId;

    private Integer currentOrganizerId;

    private Integer status;

    private String currentPostion;

    private Integer washNum;

    private String isScrap;

    private Integer useNum;

    //界面展现
    private AssetBase assetBase;
    //供应商信息
    private Vender vender;
    //供应商名称
    private String venderName;
    //联系人名称
    private String contactsName;


    public String getContactsName() {
        if(null != vender){
            return vender.getContacts();
        }
        return "";
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }


    public String getVenderName() {
        if(null != vender){
            return vender.getVenderName();
        }
        return "";
    }

    public void setVenderName(String venderName) {
        this.venderName = venderName;
    }

    public Vender getVender() {
        return vender;
    }

    public void setVender(Vender vender) {
        this.vender = vender;
    }

    public AssetBase getAssetBase() {
        return assetBase;
    }

    public void setAssetBase(AssetBase assetBase) {
        this.assetBase = assetBase;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAssetBaseid() {
        return assetBaseid;
    }

    public void setAssetBaseid(Integer assetBaseid) {
        this.assetBaseid = assetBaseid;
    }

    public String getRfidCode() {
        return rfidCode;
    }

    public void setRfidCode(String rfidCode) {
        this.rfidCode = rfidCode;
    }

    public Integer getVenderId() {
        return venderId;
    }

    public void setVenderId(Integer venderId) {
        this.venderId = venderId;
    }

    public Integer getCurrentOrganizerId() {
        return currentOrganizerId;
    }

    public void setCurrentOrganizerId(Integer currentOrganizerId) {
        this.currentOrganizerId = currentOrganizerId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCurrentPostion() {
        return currentPostion;
    }

    public void setCurrentPostion(String currentPostion) {
        this.currentPostion = currentPostion;
    }

    public Integer getWashNum() {
        return washNum;
    }

    public void setWashNum(Integer washNum) {
        this.washNum = washNum;
    }

    public String getIsScrap() {
        return isScrap;
    }

    public void setIsScrap(String isScrap) {
        this.isScrap = isScrap;
    }

    public Integer getUseNum() {
        return useNum;
    }

    public void setUseNum(Integer useNum) {
        this.useNum = useNum;
    }
}